<table class="form">
    <tbody>
    <input type="hidden" name="oid" value="<?php print $order->nid;?>" class="order_edit_field"/>
    <tr>
        <td><label>*From the store:</label></td>
        <td><input type="text" style="width: 70%;" id="name_1012713" class="order_edit_field required"
                   value="<?php print !empty($order->field_store_name[LANGUAGE_NONE][0]['value'])
                           ? $order->field_store_name[LANGUAGE_NONE][0]['value'] : '';?>" name="store_name"></td>
    </tr>
    <tr>
        <td><label>*Order number:</label></td>
        <td><input type="text" style="width: 60%;" class="order_edit_field required" name="order_number"
                   value="<?php print !empty($order->field_order_stt[LANGUAGE_NONE][0]['value'])
                           ? $order->field_order_stt[LANGUAGE_NONE][0]['value'] : '';?>"/></td>
    </tr>
    <tr>
        <td><label>*Tracking Number:</label></td>
        <td><input type="text" size="100" style="width: 60%;" class="order_edit_field required" name="tracking"
                   value="<?php print !empty($order->field_order_number[LANGUAGE_NONE][0]['value'])
                           ? $order->field_order_number[LANGUAGE_NONE][0]['value'] : '';?>"/></td>
    </tr>
    <tr>
        <td><label>Name:</label></td>
        <td><input type="text" maxlength="30" size="60" style="width: 60%;" class="order_edit_field"
                   name="order_name" value="<?php print !empty($order->title) ? $order->title : '';?>"/></td>
    </tr>
    <tr>
        <td><label>Weight:</label></td>
        <?php $weight = !empty($order->field_order_weight[LANGUAGE_NONE][0]['value'])
            ? trim(substr($order->field_order_weight[LANGUAGE_NONE][0]['value'], 0, -3)) : '';?>
        <td><input type="text" style="width: 60px;" class="order_edit_field numeric" name="weight_lb" placeholder="lb"
                   value="<?php print $weight;?>">&nbsp;lb
        </td>
    </tr>
    <tr>
        <td><label>Dimensions:</label></td>
        <td>
            <?php $dimensions = !empty($order->field_order_dimensions[LANGUAGE_NONE][0]['value'])
                ? explode('x', $order->field_order_dimensions[LANGUAGE_NONE][0]['value']) : array();?>
            <input type="text" style="width: 60px;" class="order_edit_field numeric" name="dimensions_width"
                   placeholder="width" value="<?php print $dimensions ? trim($dimensions[0]) : '';?>"/> x
            <input type="text" style="width: 60px;" class="order_edit_field numeric" name="dimensions_height"
                   placeholder="height" value="<?php print $dimensions ? trim($dimensions[1]) : '';?>"/> x
            <input type="text" style="width: 60px;" class="order_edit_field numeric" name="dimensions_depth"
                   placeholder="depth" value="<?php print $dimensions ? trim(substr($dimensions[2], 0, -2)) : '';?>"/>
            in
        </td>
    </tr>
    <tr>
        <td class="comments_field"><label>Notes:</label></td>
        <td><textarea style="width: 60%; height: 60px;" class="order_edit_field"
                      name="note"><?php print !empty($order->field_order_note[LANGUAGE_NONE][0]['value'])
                ? $order->field_order_note[LANGUAGE_NONE][0]['value'] : '';?></textarea></td>
    </tr>
    </tbody>
</table>